package com.syni.mdd.yhd.common.all.dto.reponseDto.groupBuy.bargain;

import com.syni.mdd.yhd.common.all.entity.groupBuy.BmsUserHelpBargain;
import com.syni.mdd.yhd.common.all.entity.user.BmsUser;
import lombok.Data;

import java.util.LinkedList;
import java.util.List;

/**
 * @className BargainActionRpDto
 * @description TOO
 * @Author cfx
 * @DATE 2020/2/4 16:34
 * @VERSION 1.0
 **/
@Data
public class BargainHelpPageRpDto {
    private Integer bargainId;
    private String loginName;
    private String headImg;
    private String groupImg;
    private String logoUrl;
    private String businessName;
    private String groupName;
    private Double groupValue;
    private Double groupPrice;
    private BargainHelpPageRpDto.BmsUserBargainDto bmsUserBargain;
    private List<BmsUserHelpBargain> userHelpBargainList = new LinkedList<>();

    @Data
    public static class BmsUserBargainDto{
        private Double finallyPrice;
        private Integer friendHelpNum;
        private Integer friendHelpTotalNum;
        private Double alreadyBargainMoney;
    }
}
